# $Id: PKGBUILD 137080 2011-09-06 00:30:43Z eric $
# Maintainer: Thayer Williams <thayer@archlinux.org>
# Contributor: Thayer Williams <thayer@archlinux.org>

pkgname=archlinux-wallpaper
pkgver=1.4
pkgrel=1
pkgdesc="A variety of Arch Linux branded wallpapers"
arch=('any')
url="http://www.archlinux.org/"
license=('CCPL:by-nc-sa')
install=archlinux-wallpaper.install
source=(ftp://ftp.archlinux.org/other/artwork/${pkgname}-${pkgver}.tar.xz)
md5sums=('8cdd4f987676977bb3d3679564ec3cfa')

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  install -d "${pkgdir}/usr/share/archlinux/wallpaper"
  install -m644 AUTHORS "${pkgdir}/usr/share/archlinux/wallpaper/"
  install -m644 *.jpg "${pkgdir}/usr/share/archlinux/wallpaper/"
  install -m644 *.png "${pkgdir}/usr/share/archlinux/wallpaper/"

  install -d "${pkgdir}/usr/share/gnome-background-properties"
  install -m644 arch-backgrounds-16-9.xml "${pkgdir}/usr/share/gnome-background-properties/"
  install -m644 arch-backgrounds-4-3.xml "${pkgdir}/usr/share/gnome-background-properties/"
}
